<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>

        .drop-target {
            border: 3px dotted #000000 !important;
            /*background-color: #bed5ff;*/
            opacity: 0.4;
        }

        .selected {
            border: 3px solid red !important;
        }

        .can-comp {
            background-color: white;
            box-sizing: border-box;
        }

        .helper-line {
            position: absolute;
        }

        .helper-line-e {
            border-left: 1px dotted darkgreen;
            left: 0;
            top: -800px;
            bottom: -800px;
            width: 1px;
        }

        .helper-line-n {
            border-top: 1px dotted darkgreen;
            top: 0;
            left: -800px;
            right: -800px;
            height: 1px;
        }

        .helper-line-w {
            border-left: 1px dotted darkgreen;
            right: 0;
            top: -800px;
            bottom: -800px;
            width: 1px;
        }

        .helper-line-s {
            border-top: 1px dotted darkgreen;
            bottom: 0;
            left: -800px;
            right: -800px;
            height: 1px;
        }

        .tool {
            height: 50px;
        }

        .controls {
            width: 100px;
            height: 100%;
            float: left;
        }

        .canvas {
            margin-left: 150px;
            float: left;
        }

        .controls div {
            margin-top: 20px;
            line-height: 30px;
        }


    </style>
</head>
<body>
<div>
    <div class="tool">
        <button ref="leftAlign">左对齐</button>
        <button ref="rightAlign">右对齐</button>
        <button ref="midAlign">中间对齐</button>
        <button ref="top">置顶</button>
        <button rel="bottom">置底</button>
    </div>
    <div>
        <div class="controls">
            <div ref="label">标签</div>
            <div ref="card_layout">card布局</div>
            <div ref="border_layout">border布局</div>
            <div ref="line_layout">线性布局</div>
            <div ref="container">普通容器</div>
            <div ref="tab">页签</div>
        </div>
        <div id="root" class="canvas"></div>
    </div>
</div>
<script src="bower_components/lodash/lodash.js"></script>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="interact.js"></script>
<script src="can.js"></script>
</body>
</html>
